home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3015 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: bcfreenet.seflin.lib.fl.us!bcfreenet!z007400b
  2. From: z007400b@bcfreenet.seflin.lib.fl.us (Ralph Silverman)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: start array at k, not 0
  5. Date: 23 Jan 1996 20:05:04 GMT
  6. Organization: SEFLIN Free-Net - Broward
  7. Message-ID: <4e3f1g$a1v@bcfreenet.seflin.lib.fl.us>
  8. References: <Pine.OSF.3.91.960104095358.22268B-100000@io.UWinnipeg.ca> <820787486snz@genesis.demon.co.uk> <Pine.OSF.3.91.960105091211.2861B-100000@io.UWinnipeg.ca> <4cpdt3$3b5@newdelph.cig.mot.com>
  9. NNTP-Posting-Host: bcfreenet.seflin.lib.fl.us
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Tim Butler (tbutler@laraby.tiac.net) wrote:
  13. : miker3@ix.netcom.com (Mike Rubenstein) writes:
  14. : [ Numerical Recipes method of array indexing referenced ]
  15. : ....
  16. : :It's unfortunate that the authors of this book didn't bother to learn
  17. : :C before writing it.  As anyone who has read the FAQ [6.13] knows,
  18. : :this results in undefined behavior.  
  19. : ...
  20.  
  21. : They have addressed that in the second edition. To retain the ability
  22. : to start indexing at one, they "waste" that first element. They
  23. : allocate one element extra.
  24.  
  25. : --
  26. : tim butler
  27. : tbutler@tiac.net
  28.  
  29.  
  30. --
  31. *********begin r.s. response**********
  32.  
  33.     great!!
  34.  
  35. *********end r.s. response************
  36. Ralph Silverman
  37. z007400b@bcfreenet.seflin.lib.fl.us
  38.  
  39.